package com.xrkj.miniprogram.server.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName("miniprogram_users")
@Data
@Accessors(chain = true)
public class MiniprogramUser {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("wxid")
    private String wxid;

    @TableField("nickname")
    private String nickname;

    @TableField("picture")
    private String picture;

    @TableField("group_name")
    private String groupName;

    @TableField("position")
    private String position;

    @TableField("created_at")
    private Date createdAt;

    @TableField("updated_at")
    private Date updatedAt;

    @TableLogic
    @TableField("deleted_at")
    private Date deletedAt;


}
